import { useContext, createContext } from 'react';
import store from '../mobx/store';

const context = createContext(store);

const useStores = () => useContext(context);

export default { useStores };
